<div id="content">
	<h2>Erreur</h2>
	<p><?php echo $sMessage ?></p>
	<p><a href="index.php">Aller à l'accueil d'<em>AYS</em></a></p>
	<?php
	try{
		$oMysqliInstance = new AYSMysqli(BDD_HOST, BDD_USER, BDD_PASS, BDD_DATABASE);
		$result = $oMysqliInstance->query('SELECT * FROM ays_log ORDER BY id DESC LIMIT 0,1');
		$result = $result->fetch_assoc();
		displayContentArray(
			'test log',
			array(
				'date' => $result['date'],
				'type' => $result['type'],
				unserialize($result['text']),
			)
		);
	}catch(MysqliExecutionException $oException){

	}
	?>
</div>
